#include "observer.h"

namespace Sirat {

namespace Common {

Observer::Observer(const Math::Vector& _position,const Math::Vector& _up) : position(_position) , up(_up) { }

Observer::Observer() { }

Observer::Observer(const Observer& _observer) {
	position = _observer.position;
	up = _observer.up;
}

Observer::~Observer() { }

Math::Vector Observer::get_position(void) const {
	return position;
}
Math::Vector Observer::get_up(void) const {
	return up;
}
	
void Observer::set_position(const Math::Vector& _position) {
	position = _position;
}
void Observer::set_up(const Math::Vector& _up)  {
	up = _up;
}

Observer& Observer::operator=(const Observer& _observer) {
	position = _observer.position;
	up = _observer.up;	
	return *this;
}

}

}
